\hypertarget{montecarlo_8finc}{}\section{api/montecarlo.finc File Reference}
\label{montecarlo_8finc}\index{api/montecarlo.\+finc@{api/montecarlo.\+finc}}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=178pt]{montecarlo_8finc__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions/\+Subroutines}
\begin{DoxyCompactItemize}
\item 
type(fgsl\+\_\+monte\+\_\+function) function \hyperlink{montecarlo_8finc_a15f091a9199b5feb5a89e48b523fec5e}{fgsl\+\_\+monte\+\_\+function\+\_\+init} (func, dim, params)
\item 
subroutine \hyperlink{montecarlo_8finc_a1cebacdc85ce175202a13211f5bc5d51}{fgsl\+\_\+monte\+\_\+function\+\_\+free} (func)
\item 
type(fgsl\+\_\+monte\+\_\+plain\+\_\+state) function \hyperlink{montecarlo_8finc_a78d51cf421999fedc5d8ea880fd5b010}{fgsl\+\_\+monte\+\_\+plain\+\_\+alloc} (dim)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_aa8dce2c1b9acbf0d5ad973b6a9fcb52c}{fgsl\+\_\+monte\+\_\+plain\+\_\+init} (s)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_a055f2d0383f12a1ec343e0e6389e7aac}{fgsl\+\_\+monte\+\_\+plain\+\_\+integrate} (f, xl, xu, dim, calls, r, s, result, abserr)
\item 
subroutine \hyperlink{montecarlo_8finc_ae8b9533f16107ce4fa773962d95ba21c}{fgsl\+\_\+monte\+\_\+plain\+\_\+free} (s)
\item 
type(fgsl\+\_\+monte\+\_\+miser\+\_\+state) function \hyperlink{montecarlo_8finc_a8cc7ef76d9ac9d08b0fd80d0956e53f4}{fgsl\+\_\+monte\+\_\+miser\+\_\+alloc} (dim)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_ab005757b4f0e3f08eb0595920d166393}{fgsl\+\_\+monte\+\_\+miser\+\_\+init} (s)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_aef41da72b6c8bd738bf13aa19ec02bd1}{fgsl\+\_\+monte\+\_\+miser\+\_\+integrate} (f, xl, xu, dim, calls, r, s, result, abserr)
\item 
subroutine \hyperlink{montecarlo_8finc_a3cf77f03d4317c892a8ca6045580aa2b}{fgsl\+\_\+monte\+\_\+miser\+\_\+free} (s)
\item 
type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state) function \hyperlink{montecarlo_8finc_a104c37829cabd4b2c65dc53b4d428dad}{fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc} (dim)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_a7b50efe16a1796a72f05bb26779481de}{fgsl\+\_\+monte\+\_\+vegas\+\_\+init} (s)
\item 
integer(fgsl\+\_\+int) function \hyperlink{montecarlo_8finc_a6ca1e03b2c16419ff948d52426d89066}{fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate} (f, xl, xu, dim, calls, r, s, result, abserr)
\item 
subroutine \hyperlink{montecarlo_8finc_a6bcca41c04f47eb0018123519c6c4225}{fgsl\+\_\+monte\+\_\+vegas\+\_\+free} (s)
\item 
real(fgsl\+\_\+double) function \hyperlink{montecarlo_8finc_a2126d5635d3ae538e905c2ab9739628a}{fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq} (s)
\item 
subroutine \hyperlink{montecarlo_8finc_abfa67b6ebc24ac8ecfeb67102151a0db}{fgsl\+\_\+monte\+\_\+vegas\+\_\+runval} (s, result, sigma)
\item 
logical function \hyperlink{montecarlo_8finc_a54997aeeb57044a0d1ea66536cef086d}{fgsl\+\_\+monte\+\_\+function\+\_\+status} (monte\+\_\+function)
\item 
logical function \hyperlink{montecarlo_8finc_a3f0ffca084fe0aa10a2364ae1c12141d}{fgsl\+\_\+monte\+\_\+plain\+\_\+status} (monte\+\_\+plain)
\item 
logical function \hyperlink{montecarlo_8finc_a882c25d3ff7ba5048ee146da2af617d6}{fgsl\+\_\+monte\+\_\+miser\+\_\+status} (monte\+\_\+miser)
\item 
logical function \hyperlink{montecarlo_8finc_a46e22adcca8c7275e4de953205759d11}{fgsl\+\_\+monte\+\_\+vegas\+\_\+status} (monte\+\_\+vegas)
\item 
subroutine \hyperlink{montecarlo_8finc_ad5c6366b571b8d0f4caa29ef51302fcf}{fgsl\+\_\+monte\+\_\+miser\+\_\+setparams} (s, estimate\+\_\+frac, min\+\_\+calls, min\+\_\+calls\+\_\+per\+\_\+bisection, alpha, dither)
\begin{DoxyCompactList}\small\item\em Accessor routine for setting the parameters for the M\+I\+S\+E\+R algorithm. \end{DoxyCompactList}\item 
subroutine \hyperlink{montecarlo_8finc_a408686480497f6952e5dff7bf5d54603}{fgsl\+\_\+monte\+\_\+miser\+\_\+getparams} (s, estimate\+\_\+frac, min\+\_\+calls, min\+\_\+calls\+\_\+per\+\_\+bisection, alpha, dither)
\begin{DoxyCompactList}\small\item\em Accessor routine for reading out the parameters for the M\+I\+S\+E\+R algorithm. \end{DoxyCompactList}\item 
subroutine \hyperlink{montecarlo_8finc_a66bf1b9d3406abbc8ec50759add82650}{fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams} (s, result, sigma, chisq, alpha, iterations, stage, mode, verbose, ostream)
\begin{DoxyCompactList}\small\item\em Accessor routine for setting the parameters for the V\+E\+G\+A\+S algorithm. \end{DoxyCompactList}\item 
subroutine \hyperlink{montecarlo_8finc_a54be28890110b14d8b4d165877e77549}{fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams} (s, result, sigma, chisq, alpha, iterations, stage, mode, verbose, ostream)
\begin{DoxyCompactList}\small\item\em Accessor routine for reading out the parameters for the V\+E\+G\+A\+S algorithm. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function/\+Subroutine Documentation}
\hypertarget{montecarlo_8finc_a1cebacdc85ce175202a13211f5bc5d51}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+function\+\_\+free@{fgsl\+\_\+monte\+\_\+function\+\_\+free}}
\index{fgsl\+\_\+monte\+\_\+function\+\_\+free@{fgsl\+\_\+monte\+\_\+function\+\_\+free}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+function\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+function\+\_\+free (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+function), intent(inout)}]{func}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a1cebacdc85ce175202a13211f5bc5d51}
\hypertarget{montecarlo_8finc_a15f091a9199b5feb5a89e48b523fec5e}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+function\+\_\+init@{fgsl\+\_\+monte\+\_\+function\+\_\+init}}
\index{fgsl\+\_\+monte\+\_\+function\+\_\+init@{fgsl\+\_\+monte\+\_\+function\+\_\+init}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+function\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}type(fgsl\+\_\+monte\+\_\+function) function fgsl\+\_\+monte\+\_\+function\+\_\+init (
\begin{DoxyParamCaption}
\item[{}]{func, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{dim, }
\item[{type(c\+\_\+ptr), intent(in)}]{params}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a15f091a9199b5feb5a89e48b523fec5e}
\hypertarget{montecarlo_8finc_a54997aeeb57044a0d1ea66536cef086d}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+function\+\_\+status@{fgsl\+\_\+monte\+\_\+function\+\_\+status}}
\index{fgsl\+\_\+monte\+\_\+function\+\_\+status@{fgsl\+\_\+monte\+\_\+function\+\_\+status}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+function\+\_\+status}]{\setlength{\rightskip}{0pt plus 5cm}logical function fgsl\+\_\+monte\+\_\+function\+\_\+status (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+function), intent(in)}]{monte\+\_\+function}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a54997aeeb57044a0d1ea66536cef086d}
\hypertarget{montecarlo_8finc_a8cc7ef76d9ac9d08b0fd80d0956e53f4}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+alloc@{fgsl\+\_\+monte\+\_\+miser\+\_\+alloc}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+alloc@{fgsl\+\_\+monte\+\_\+miser\+\_\+alloc}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}type(fgsl\+\_\+monte\+\_\+miser\+\_\+state) function fgsl\+\_\+monte\+\_\+miser\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{integer(fgsl\+\_\+size\+\_\+t)}]{dim}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a8cc7ef76d9ac9d08b0fd80d0956e53f4}
\hypertarget{montecarlo_8finc_a3cf77f03d4317c892a8ca6045580aa2b}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+free@{fgsl\+\_\+monte\+\_\+miser\+\_\+free}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+free@{fgsl\+\_\+monte\+\_\+miser\+\_\+free}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+miser\+\_\+free (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(inout)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a3cf77f03d4317c892a8ca6045580aa2b}
\hypertarget{montecarlo_8finc_a408686480497f6952e5dff7bf5d54603}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+getparams@{fgsl\+\_\+monte\+\_\+miser\+\_\+getparams}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+getparams@{fgsl\+\_\+monte\+\_\+miser\+\_\+getparams}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+getparams}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+miser\+\_\+getparams (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{estimate\+\_\+frac, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(out)}]{min\+\_\+calls, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(out)}]{min\+\_\+calls\+\_\+per\+\_\+bisection, }
\item[{real(fgsl\+\_\+double), intent(out)}]{alpha, }
\item[{real(fgsl\+\_\+double), intent(out)}]{dither}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a408686480497f6952e5dff7bf5d54603}


Accessor routine for reading out the parameters for the M\+I\+S\+E\+R algorithm. 

\hypertarget{montecarlo_8finc_ab005757b4f0e3f08eb0595920d166393}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+init@{fgsl\+\_\+monte\+\_\+miser\+\_\+init}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+init@{fgsl\+\_\+monte\+\_\+miser\+\_\+init}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+miser\+\_\+init (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(in)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_ab005757b4f0e3f08eb0595920d166393}
\hypertarget{montecarlo_8finc_aef41da72b6c8bd738bf13aa19ec02bd1}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+integrate@{fgsl\+\_\+monte\+\_\+miser\+\_\+integrate}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+integrate@{fgsl\+\_\+monte\+\_\+miser\+\_\+integrate}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+integrate}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+miser\+\_\+integrate (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+function), intent(in)}]{f, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xl, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xu, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{dim, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{calls, }
\item[{type(fgsl\+\_\+rng), intent(in)}]{r, }
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{result, }
\item[{real(fgsl\+\_\+double), intent(out)}]{abserr}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_aef41da72b6c8bd738bf13aa19ec02bd1}
\hypertarget{montecarlo_8finc_ad5c6366b571b8d0f4caa29ef51302fcf}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+setparams@{fgsl\+\_\+monte\+\_\+miser\+\_\+setparams}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+setparams@{fgsl\+\_\+monte\+\_\+miser\+\_\+setparams}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+setparams}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+miser\+\_\+setparams (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(inout)}]{s, }
\item[{real(fgsl\+\_\+double), intent(in)}]{estimate\+\_\+frac, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{min\+\_\+calls, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{min\+\_\+calls\+\_\+per\+\_\+bisection, }
\item[{real(fgsl\+\_\+double), intent(in)}]{alpha, }
\item[{real(fgsl\+\_\+double), intent(in)}]{dither}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_ad5c6366b571b8d0f4caa29ef51302fcf}


Accessor routine for setting the parameters for the M\+I\+S\+E\+R algorithm. 

\hypertarget{montecarlo_8finc_a882c25d3ff7ba5048ee146da2af617d6}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+miser\+\_\+status@{fgsl\+\_\+monte\+\_\+miser\+\_\+status}}
\index{fgsl\+\_\+monte\+\_\+miser\+\_\+status@{fgsl\+\_\+monte\+\_\+miser\+\_\+status}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+miser\+\_\+status}]{\setlength{\rightskip}{0pt plus 5cm}logical function fgsl\+\_\+monte\+\_\+miser\+\_\+status (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+miser\+\_\+state), intent(in)}]{monte\+\_\+miser}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a882c25d3ff7ba5048ee146da2af617d6}
\hypertarget{montecarlo_8finc_a78d51cf421999fedc5d8ea880fd5b010}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+plain\+\_\+alloc@{fgsl\+\_\+monte\+\_\+plain\+\_\+alloc}}
\index{fgsl\+\_\+monte\+\_\+plain\+\_\+alloc@{fgsl\+\_\+monte\+\_\+plain\+\_\+alloc}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+plain\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}type(fgsl\+\_\+monte\+\_\+plain\+\_\+state) function fgsl\+\_\+monte\+\_\+plain\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{dim}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a78d51cf421999fedc5d8ea880fd5b010}
\hypertarget{montecarlo_8finc_ae8b9533f16107ce4fa773962d95ba21c}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+plain\+\_\+free@{fgsl\+\_\+monte\+\_\+plain\+\_\+free}}
\index{fgsl\+\_\+monte\+\_\+plain\+\_\+free@{fgsl\+\_\+monte\+\_\+plain\+\_\+free}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+plain\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+plain\+\_\+free (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+plain\+\_\+state), intent(inout)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_ae8b9533f16107ce4fa773962d95ba21c}
\hypertarget{montecarlo_8finc_aa8dce2c1b9acbf0d5ad973b6a9fcb52c}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+plain\+\_\+init@{fgsl\+\_\+monte\+\_\+plain\+\_\+init}}
\index{fgsl\+\_\+monte\+\_\+plain\+\_\+init@{fgsl\+\_\+monte\+\_\+plain\+\_\+init}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+plain\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+plain\+\_\+init (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+plain\+\_\+state), intent(in)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_aa8dce2c1b9acbf0d5ad973b6a9fcb52c}
\hypertarget{montecarlo_8finc_a055f2d0383f12a1ec343e0e6389e7aac}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+plain\+\_\+integrate@{fgsl\+\_\+monte\+\_\+plain\+\_\+integrate}}
\index{fgsl\+\_\+monte\+\_\+plain\+\_\+integrate@{fgsl\+\_\+monte\+\_\+plain\+\_\+integrate}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+plain\+\_\+integrate}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+plain\+\_\+integrate (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+function), intent(in)}]{f, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xl, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xu, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{dim, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{calls, }
\item[{type(fgsl\+\_\+rng), intent(in)}]{r, }
\item[{type(fgsl\+\_\+monte\+\_\+plain\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{result, }
\item[{real(fgsl\+\_\+double), intent(out)}]{abserr}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a055f2d0383f12a1ec343e0e6389e7aac}
\hypertarget{montecarlo_8finc_a3f0ffca084fe0aa10a2364ae1c12141d}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+plain\+\_\+status@{fgsl\+\_\+monte\+\_\+plain\+\_\+status}}
\index{fgsl\+\_\+monte\+\_\+plain\+\_\+status@{fgsl\+\_\+monte\+\_\+plain\+\_\+status}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+plain\+\_\+status}]{\setlength{\rightskip}{0pt plus 5cm}logical function fgsl\+\_\+monte\+\_\+plain\+\_\+status (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+plain\+\_\+state), intent(in)}]{monte\+\_\+plain}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a3f0ffca084fe0aa10a2364ae1c12141d}
\hypertarget{montecarlo_8finc_a104c37829cabd4b2c65dc53b4d428dad}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc@{fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc@{fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state) function fgsl\+\_\+monte\+\_\+vegas\+\_\+alloc (
\begin{DoxyParamCaption}
\item[{integer(fgsl\+\_\+size\+\_\+t)}]{dim}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a104c37829cabd4b2c65dc53b4d428dad}
\hypertarget{montecarlo_8finc_a2126d5635d3ae538e905c2ab9739628a}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq@{fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq@{fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq}]{\setlength{\rightskip}{0pt plus 5cm}real(fgsl\+\_\+double) function fgsl\+\_\+monte\+\_\+vegas\+\_\+chisq (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a2126d5635d3ae538e905c2ab9739628a}
\hypertarget{montecarlo_8finc_a6bcca41c04f47eb0018123519c6c4225}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+free@{fgsl\+\_\+monte\+\_\+vegas\+\_\+free}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+free@{fgsl\+\_\+monte\+\_\+vegas\+\_\+free}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+vegas\+\_\+free (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(inout)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a6bcca41c04f47eb0018123519c6c4225}
\hypertarget{montecarlo_8finc_a54be28890110b14d8b4d165877e77549}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams@{fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams@{fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+vegas\+\_\+getparams (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{result, }
\item[{real(fgsl\+\_\+double), intent(out)}]{sigma, }
\item[{real(fgsl\+\_\+double), intent(out)}]{chisq, }
\item[{real(fgsl\+\_\+double), intent(out)}]{alpha, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(out)}]{iterations, }
\item[{integer(fgsl\+\_\+int), intent(out)}]{stage, }
\item[{integer(fgsl\+\_\+int), intent(out)}]{mode, }
\item[{integer(fgsl\+\_\+int), intent(out)}]{verbose, }
\item[{type(fgsl\+\_\+file), intent(out)}]{ostream}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a54be28890110b14d8b4d165877e77549}


Accessor routine for reading out the parameters for the V\+E\+G\+A\+S algorithm. 

\hypertarget{montecarlo_8finc_a7b50efe16a1796a72f05bb26779481de}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+init@{fgsl\+\_\+monte\+\_\+vegas\+\_\+init}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+init@{fgsl\+\_\+monte\+\_\+vegas\+\_\+init}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+vegas\+\_\+init (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{s}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a7b50efe16a1796a72f05bb26779481de}
\hypertarget{montecarlo_8finc_a6ca1e03b2c16419ff948d52426d89066}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate@{fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate@{fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate}]{\setlength{\rightskip}{0pt plus 5cm}integer(fgsl\+\_\+int) function fgsl\+\_\+monte\+\_\+vegas\+\_\+integrate (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+function), intent(in)}]{f, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xl, }
\item[{real(fgsl\+\_\+double), dimension(dim), intent(in)}]{xu, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{dim, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{calls, }
\item[{type(fgsl\+\_\+rng), intent(in)}]{r, }
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{result, }
\item[{real(fgsl\+\_\+double), intent(out)}]{abserr}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a6ca1e03b2c16419ff948d52426d89066}
\hypertarget{montecarlo_8finc_abfa67b6ebc24ac8ecfeb67102151a0db}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+runval@{fgsl\+\_\+monte\+\_\+vegas\+\_\+runval}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+runval@{fgsl\+\_\+monte\+\_\+vegas\+\_\+runval}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+runval}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+vegas\+\_\+runval (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{s, }
\item[{real(fgsl\+\_\+double), intent(out)}]{result, }
\item[{real(fgsl\+\_\+double), intent(out)}]{sigma}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_abfa67b6ebc24ac8ecfeb67102151a0db}
\hypertarget{montecarlo_8finc_a66bf1b9d3406abbc8ec50759add82650}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams@{fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams@{fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams}]{\setlength{\rightskip}{0pt plus 5cm}subroutine fgsl\+\_\+monte\+\_\+vegas\+\_\+setparams (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(inout)}]{s, }
\item[{real(fgsl\+\_\+double), intent(in)}]{result, }
\item[{real(fgsl\+\_\+double), intent(in)}]{sigma, }
\item[{real(fgsl\+\_\+double), intent(in)}]{chisq, }
\item[{real(fgsl\+\_\+double), intent(in)}]{alpha, }
\item[{integer(fgsl\+\_\+size\+\_\+t), intent(in)}]{iterations, }
\item[{integer(fgsl\+\_\+int), intent(in)}]{stage, }
\item[{integer(fgsl\+\_\+int), intent(in)}]{mode, }
\item[{integer(fgsl\+\_\+int), intent(in)}]{verbose, }
\item[{type(fgsl\+\_\+file), intent(in)}]{ostream}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a66bf1b9d3406abbc8ec50759add82650}


Accessor routine for setting the parameters for the V\+E\+G\+A\+S algorithm. 

\hypertarget{montecarlo_8finc_a46e22adcca8c7275e4de953205759d11}{}\index{montecarlo.\+finc@{montecarlo.\+finc}!fgsl\+\_\+monte\+\_\+vegas\+\_\+status@{fgsl\+\_\+monte\+\_\+vegas\+\_\+status}}
\index{fgsl\+\_\+monte\+\_\+vegas\+\_\+status@{fgsl\+\_\+monte\+\_\+vegas\+\_\+status}!montecarlo.\+finc@{montecarlo.\+finc}}
\subsubsection[{fgsl\+\_\+monte\+\_\+vegas\+\_\+status}]{\setlength{\rightskip}{0pt plus 5cm}logical function fgsl\+\_\+monte\+\_\+vegas\+\_\+status (
\begin{DoxyParamCaption}
\item[{type(fgsl\+\_\+monte\+\_\+vegas\+\_\+state), intent(in)}]{monte\+\_\+vegas}
\end{DoxyParamCaption}
)}\label{montecarlo_8finc_a46e22adcca8c7275e4de953205759d11}
